module.exports = app => {
    app.get('/api/category', (req, res) => {
        res.send({
            code: 0,
            msg: 'ok',
            data: [
                {
                name:'音乐会',
                img:'https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1091.png'
              },
              {
                name:'话剧',
                img:'https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1096.png'
              },
              {
                name:'演唱会',
                img:'	https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1100.png'
              },
              {
                name:'美术展览',
                img:'	https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1104.png'
              },
              {
                name:'相声',
                img:'https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1108.png'
              },
              {
                name:'曲艺杂谈',
                img:'	https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1112.png'
              },
              {
                name:'体育赛事',
                img:'	https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1112.png'
              },
              {
                name:'舞台剧',
                img:'https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1120.png'
              }
              ]
        })
    }),
    app.get('/api/hitshow', (req, res) => {
      res.send({
          code: 0,
          msg: 'ok',
          data: [
            {
              name:'Jony·leron 全球巡演',
              type:'演唱会',
              img:'https://cdn7.axureshop.com/demo/1564251/images/%E9%A6%96%E9%A1%B5/u2103.png'
            },
            {
              name:'慕夏作品展',
              type:'美术展览',
              img:'	https://cdn7.axureshop.com/demo/1564251/images/%E9%A6%96%E9%A1%B5/u2099.png'
            },
            {
              name:'莫奈·印象作品展',
              type:'美术展览',
              img:'https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1080.png'
            },
            {
              name:'sasakure.UK 全球巡演',
              type:'演唱会',
              img:'	https://cdn7.axureshop.com/demo/1564251/images/%E7%BB%84%E4%BB%B6_%E8%A7%84%E8%8C%83/u1076.png'
            },
          ]
      })
  }),
    app.get('/api/hotArtist', (req, res) => {
      res.send({
          code: 0,
          msg: 'ok',
          data: [
            {
              name:'周杰伦',
              type:'',
              img:'https://img.mp.sohu.com/upload/20170603/8b9c3a42979e4e50b2c9cff8042bd3f5_th.png'
            },
            {
              name:'法老',
              type:'',
              img:'https://img1.baidu.com/it/u=3217955245,262052654&fm=253&fmt=auto&app=138&f=JPEG?w=650&h=488'
            },
            {
              name:'林俊杰',
              type:'',
              img:'	https://img1.baidu.com/it/u=1247525385,3174553531&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500'
            },
            {
              name:'郭顶',
              type:'',
              img:'	https://img2.baidu.com/it/u=3433796015,2711279824&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=332'
            },
            {
              name:'薛之谦',
              type:'',
              img:'	https://n.sinaimg.cn/translate/20170711/UYQz-fyhwret2339364.jpg'
            },
          ]
      })
    }),
    app.get('/api/selecTedopic', (req, res) => {
      res.send({
          code: 0,
          msg: 'ok',
          data: [
            {
              name:'年度最受好评演唱会合集1',
              type:'演唱会',
              img:'	https://cdn7.axureshop.com/demo/1564251/images/%E9%A6%96%E9%A1%B5/u2187.png'
            },
            {
              name:'年度最受好评演唱会合集2',
              type:'演唱会',
              img:'https://cdn7.axureshop.com/demo/1564251/images/%E9%A6%96%E9%A1%B5/u2194.png'
            },
            {
              name:'年度最受好评演唱会合集3',
              type:'演唱会',
              img:'	https://cdn7.axureshop.com/demo/1564251/images/%E9%A6%96%E9%A1%B5/u2200.png'
            }
          ]
      })
    })


}
